package com.kantboot.api.qiucloud.serive.impl;

import com.kantboot.api.qiucloud.serive.IApiQiniuSmsService;
import com.kantboot.api.qiucloud.setting.ApiQiniuCloudSetting;
import com.kantboot.api.qiucloud.util.ApiQiniuCloudUtil;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class ApiQiniuSmsServiceImpl implements IApiQiniuSmsService {

    @Resource
    private ApiQiniuCloudSetting setting;

    @Override
    public void sendFulltextMessageOne(String phone, String content) {
        ApiQiniuCloudUtil.sendFulltextMessageOne(phone, content, setting.getQiniuAuth());
    }
}
